<?php

namespace Ihanpy\Core;

class Loader
{
    public static function autoLoad($className)
    {
        $className = str_replace('\\', DIRECTORY_SEPARATOR, $className);
        $className = str_replace('Ihanpy/', '', $className); // todo 这个地方先这么处理
        require BASH_DIR . DIRECTORY_SEPARATOR . $className . '.php';
    }
}